package test2;

public class Outer03 {
    private int num = 10;

    void method() {
        new Inter() {
            @Override
            public void show() {
                System.out.println(num);
            }
        }.show();

    }
}